menubutton: Enable F10 for primary menus
authorMatthias Clasen <mclasen@redhat.com>
Mon, 24 May 2021 21:27:40 +0000 (17:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 24 May 2021 21:27:40 +0000 (17:27 -0400)
commita74420bc1a501f6ee951ed152e8f9a941b0c8438
treedb1d1343deb5aa5acf3f1efb6b32d04c93a6f25b
parentb05f3f5614a310de05fb8292e96611aade429a1e
menubutton: Enable F10 for primary menus

Add a ::primary property to GtkMenuButton, which can
be set to make the menu activatable with F10, like
menubars.
gtk/gtkmenubutton.c
gtk/gtkmenubutton.h
gtk/gtkwindow.c